﻿$(function () {
    $('#mainBookImage').click(function () {
        var isbn = $('#isbn').text();
        window.open("http://www.amazon.com/gp/product/" + isbn);
    });
    $('#descriptionBody').hide();
    $('#descriptionHead').click(function () {
        $(this).toggleClass("folded").toggleClass("unfolded").next().slideToggle();
    });
});